package com.sixstones.fragment.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sixstones.fragment.entity.CatagoryEntity;

public interface CatagoryDao {

	int addCatagory(@Param("name") String name, @Param("desc") String desc);

	CatagoryEntity queryByName(String name);
	
	CatagoryEntity queryById(int catagoryId);

	List<CatagoryEntity> queryAll();

}
